package com.hoas.quickstart.threads.chapter05.chapter05_1_2;

import java.util.Date;
import java.util.TimerTask;

public class MyTask extends TimerTask {
    @Override
    public void run() {
        System.out.println("任务执行了，时间为 " + new Date());
    }
}
